//
//  ViewController.m
//  Ai
//
//  Created by 杜超男 on 2019/3/6.
//  Copyright © 2019年 杜超男. All rights reserved.
//

#import "ViewController.h"
#import "AiViewController.h"
#import "AITwoViewController.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UINavigationController *ai = [[UINavigationController alloc] initWithRootViewController:[AiViewController new]];
    ai.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"AI" image:[UIImage imageNamed:@"AI"] selectedImage:[UIImage imageNamed:@"AI-绿"]];
    
    UINavigationController *ai2 = [[UINavigationController alloc] initWithRootViewController:[AITwoViewController new]];
    ai2.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"AI" image:[UIImage imageNamed:@"AI"] selectedImage:[UIImage imageNamed:@"AI-绿"]];
    self.viewControllers = @[ai,ai2];
    // Do any additional setup after loading the view, typically from a nib.
}


@end
